package com.scm.entity;

import java.util.List;

/**
 * @author CHL
 * @ClassName: Pomain
 * @Description: TODO
 * @date 2022/3/8 15:09
 * @Version 1.0
 */
public class Pomain
{
    private Long poId;
    private String venderCode;
    private String account;
    private String createTime;
    private Double tipFee;
    private Double productTotal;
    private Double poTotal;
    private Integer payType;
    private Double prePayFee;
    private Integer status;
    private String remark;
    private String stockTime;
    private String stockUser;
    private String payTime;
    private String payUser;
    private String prePayTime;
    private String prePayUser;
    private String endTime;
    private String endUser;
    private String venderName;
    private List<Poitem> poitems;

    public void setPoId(Long poId)
    {
        this.poId = poId;
    }

    public void setVenderCode(String venderCode)
    {
        this.venderCode = venderCode;
    }

    public void setAccount(String account)
    {
        this.account = account;
    }

    public void setCreateTime(String createTime)
    {
        this.createTime = createTime;
    }

    public void setTipFee(Double tipFee)
    {
        this.tipFee = tipFee;
    }

    public void setProductTotal(Double productTotal)
    {
        this.productTotal = productTotal;
    }

    public void setPoTotal(Double poTotal)
    {
        this.poTotal = poTotal;
    }

    public void setPayType(Integer payType)
    {
        this.payType = payType;
    }

    public void setPrePayFee(Double prePayFee)
    {
        this.prePayFee = prePayFee;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public void setRemark(String remark)
    {
        this.remark = remark;
    }

    public void setStockTime(String stockTime)
    {
        this.stockTime = stockTime;
    }

    public void setStockUser(String stockUser)
    {
        this.stockUser = stockUser;
    }

    public void setPayTime(String payTime)
    {
        this.payTime = payTime;
    }

    public void setPayUser(String payUser)
    {
        this.payUser = payUser;
    }

    public void setPrePayTime(String prePayTime)
    {
        this.prePayTime = prePayTime;
    }

    public void setPrePayUser(String prePayUser)
    {
        this.prePayUser = prePayUser;
    }

    public void setEndTime(String endTime)
    {
        this.endTime = endTime;
    }

    public void setEndUser(String endUser)
    {
        this.endUser = endUser;
    }

    public void setVenderName(String venderName)
    {
        this.venderName = venderName;
    }

    public void setPoitems(List<Poitem> poitems)
    {
        this.poitems = poitems;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof Pomain)) {
            return false;
        }
        Pomain other = (Pomain)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$poId = getPoId();Object other$poId = other.getPoId();
        if (this$poId == null ? other$poId != null : !this$poId.equals(other$poId)) {
            return false;
        }
        Object this$tipFee = getTipFee();Object other$tipFee = other.getTipFee();
        if (this$tipFee == null ? other$tipFee != null : !this$tipFee.equals(other$tipFee)) {
            return false;
        }
        Object this$productTotal = getProductTotal();Object other$productTotal = other.getProductTotal();
        if (this$productTotal == null ? other$productTotal != null : !this$productTotal.equals(other$productTotal)) {
            return false;
        }
        Object this$poTotal = getPoTotal();Object other$poTotal = other.getPoTotal();
        if (this$poTotal == null ? other$poTotal != null : !this$poTotal.equals(other$poTotal)) {
            return false;
        }
        Object this$payType = getPayType();Object other$payType = other.getPayType();
        if (this$payType == null ? other$payType != null : !this$payType.equals(other$payType)) {
            return false;
        }
        Object this$prePayFee = getPrePayFee();Object other$prePayFee = other.getPrePayFee();
        if (this$prePayFee == null ? other$prePayFee != null : !this$prePayFee.equals(other$prePayFee)) {
            return false;
        }
        Object this$status = getStatus();Object other$status = other.getStatus();
        if (this$status == null ? other$status != null : !this$status.equals(other$status)) {
            return false;
        }
        Object this$venderCode = getVenderCode();Object other$venderCode = other.getVenderCode();
        if (this$venderCode == null ? other$venderCode != null : !this$venderCode.equals(other$venderCode)) {
            return false;
        }
        Object this$account = getAccount();Object other$account = other.getAccount();
        if (this$account == null ? other$account != null : !this$account.equals(other$account)) {
            return false;
        }
        Object this$createTime = getCreateTime();Object other$createTime = other.getCreateTime();
        if (this$createTime == null ? other$createTime != null : !this$createTime.equals(other$createTime)) {
            return false;
        }
        Object this$remark = getRemark();Object other$remark = other.getRemark();
        if (this$remark == null ? other$remark != null : !this$remark.equals(other$remark)) {
            return false;
        }
        Object this$stockTime = getStockTime();Object other$stockTime = other.getStockTime();
        if (this$stockTime == null ? other$stockTime != null : !this$stockTime.equals(other$stockTime)) {
            return false;
        }
        Object this$stockUser = getStockUser();Object other$stockUser = other.getStockUser();
        if (this$stockUser == null ? other$stockUser != null : !this$stockUser.equals(other$stockUser)) {
            return false;
        }
        Object this$payTime = getPayTime();Object other$payTime = other.getPayTime();
        if (this$payTime == null ? other$payTime != null : !this$payTime.equals(other$payTime)) {
            return false;
        }
        Object this$payUser = getPayUser();Object other$payUser = other.getPayUser();
        if (this$payUser == null ? other$payUser != null : !this$payUser.equals(other$payUser)) {
            return false;
        }
        Object this$prePayTime = getPrePayTime();Object other$prePayTime = other.getPrePayTime();
        if (this$prePayTime == null ? other$prePayTime != null : !this$prePayTime.equals(other$prePayTime)) {
            return false;
        }
        Object this$prePayUser = getPrePayUser();Object other$prePayUser = other.getPrePayUser();
        if (this$prePayUser == null ? other$prePayUser != null : !this$prePayUser.equals(other$prePayUser)) {
            return false;
        }
        Object this$endTime = getEndTime();Object other$endTime = other.getEndTime();
        if (this$endTime == null ? other$endTime != null : !this$endTime.equals(other$endTime)) {
            return false;
        }
        Object this$endUser = getEndUser();Object other$endUser = other.getEndUser();
        if (this$endUser == null ? other$endUser != null : !this$endUser.equals(other$endUser)) {
            return false;
        }
        Object this$venderName = getVenderName();Object other$venderName = other.getVenderName();
        if (this$venderName == null ? other$venderName != null : !this$venderName.equals(other$venderName)) {
            return false;
        }
        Object this$poitems = getPoitems();Object other$poitems = other.getPoitems();return this$poitems == null ? other$poitems == null : this$poitems.equals(other$poitems);
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof Pomain;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;Object $poId = getPoId();result = result * 59 + ($poId == null ? 43 : $poId.hashCode());Object $tipFee = getTipFee();result = result * 59 + ($tipFee == null ? 43 : $tipFee.hashCode());Object $productTotal = getProductTotal();result = result * 59 + ($productTotal == null ? 43 : $productTotal.hashCode());Object $poTotal = getPoTotal();result = result * 59 + ($poTotal == null ? 43 : $poTotal.hashCode());Object $payType = getPayType();result = result * 59 + ($payType == null ? 43 : $payType.hashCode());Object $prePayFee = getPrePayFee();result = result * 59 + ($prePayFee == null ? 43 : $prePayFee.hashCode());Object $status = getStatus();result = result * 59 + ($status == null ? 43 : $status.hashCode());Object $venderCode = getVenderCode();result = result * 59 + ($venderCode == null ? 43 : $venderCode.hashCode());Object $account = getAccount();result = result * 59 + ($account == null ? 43 : $account.hashCode());Object $createTime = getCreateTime();result = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());Object $remark = getRemark();result = result * 59 + ($remark == null ? 43 : $remark.hashCode());Object $stockTime = getStockTime();result = result * 59 + ($stockTime == null ? 43 : $stockTime.hashCode());Object $stockUser = getStockUser();result = result * 59 + ($stockUser == null ? 43 : $stockUser.hashCode());Object $payTime = getPayTime();result = result * 59 + ($payTime == null ? 43 : $payTime.hashCode());Object $payUser = getPayUser();result = result * 59 + ($payUser == null ? 43 : $payUser.hashCode());Object $prePayTime = getPrePayTime();result = result * 59 + ($prePayTime == null ? 43 : $prePayTime.hashCode());Object $prePayUser = getPrePayUser();result = result * 59 + ($prePayUser == null ? 43 : $prePayUser.hashCode());Object $endTime = getEndTime();result = result * 59 + ($endTime == null ? 43 : $endTime.hashCode());Object $endUser = getEndUser();result = result * 59 + ($endUser == null ? 43 : $endUser.hashCode());Object $venderName = getVenderName();result = result * 59 + ($venderName == null ? 43 : $venderName.hashCode());Object $poitems = getPoitems();result = result * 59 + ($poitems == null ? 43 : $poitems.hashCode());return result;
    }

    public String toString()
    {
        return "Pomain(poId=" + getPoId() + ", venderCode=" + getVenderCode() + ", account=" + getAccount() + ", createTime=" + getCreateTime() + ", tipFee=" + getTipFee() + ", productTotal=" + getProductTotal() + ", poTotal=" + getPoTotal() + ", payType=" + getPayType() + ", prePayFee=" + getPrePayFee() + ", status=" + getStatus() + ", remark=" + getRemark() + ", stockTime=" + getStockTime() + ", stockUser=" + getStockUser() + ", payTime=" + getPayTime() + ", payUser=" + getPayUser() + ", prePayTime=" + getPrePayTime() + ", prePayUser=" + getPrePayUser() + ", endTime=" + getEndTime() + ", endUser=" + getEndUser() + ", venderName=" + getVenderName() + ", poitems=" + getPoitems() + ")";
    }

    public Long getPoId()
    {
        return this.poId;
    }

    public String getVenderCode()
    {
        return this.venderCode;
    }

    public String getAccount()
    {
        return this.account;
    }

    public String getCreateTime()
    {
        return this.createTime;
    }

    public Double getTipFee()
    {
        return this.tipFee;
    }

    public Double getProductTotal()
    {
        return this.productTotal;
    }

    public Double getPoTotal()
    {
        return this.poTotal;
    }

    public Integer getPayType()
    {
        return this.payType;
    }

    public Double getPrePayFee()
    {
        return this.prePayFee;
    }

    public Integer getStatus()
    {
        return this.status;
    }

    public String getRemark()
    {
        return this.remark;
    }

    public String getStockTime()
    {
        return this.stockTime;
    }

    public String getStockUser()
    {
        return this.stockUser;
    }

    public String getPayTime()
    {
        return this.payTime;
    }

    public String getPayUser()
    {
        return this.payUser;
    }

    public String getPrePayTime()
    {
        return this.prePayTime;
    }

    public String getPrePayUser()
    {
        return this.prePayUser;
    }

    public String getEndTime()
    {
        return this.endTime;
    }

    public String getEndUser()
    {
        return this.endUser;
    }

    public String getVenderName()
    {
        return this.venderName;
    }

    public List<Poitem> getPoitems()
    {
        return this.poitems;
    }
}

